/**
 * Copyright (C) 2011 Domenico Briganti <dometec@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package it.webrules.deploymanager.webapp;

public class Constants {

	/**
	 * Administrator role
	 * 
	 */
	public static final String ROLE_ADMIN = "deployadmin";

	/**
	 * A user who can deploy a static or dynamic part but can't change configuration
	 * 
	 */
	public static final String ROLE_USER = "deployuser";

	// public final static String DM_CONFIG =
	// "application/vnd.it.webrules.dm.conf+xml";
	// public final static String DM_ENVIRONMENT =
	// "application/vnd.it.webrules.dm.env+xml";
	// public final static String DM_VIRTUALHOST =
	// "application/vnd.it.webrules.dm.virtualhost+xml";
	// public final static String DM_STATIC =
	// "application/vnd.it.webrules.dm.static+xml";

	public final static String NS_XLINK = "http://www.w3.org/1999/xlink";
	public final static String NS_DM = "http://xsd.webrules.it/dm/config/v1";
	public final static String NS_DMC = "http://xsd.webrules.it/dmc/config/v1";

	public final static String CT_ENVIRONMENT = "application/xml";
	public final static String CT_WEBAPP = "application/xml";
	public final static String CT_STATIC = "application/xml";

	public final static String DB_USERFILE = "user.dat";
	public final static String DB_CONFDIR = "config";

}
